


def show(username, pwd):
    msg = "我的用户名:{},密码{}".format(username, pwd)
    print(msg)


def run():
    username = input("请输入用户名:")
    pwd = input("请输入密码:")
    show(username, pwd)


    # 导入非嵌套模块
    import db
    db.open_db()
    db.write_db()

    # 导入嵌套模块
    import  utils.pool  as pool
    pool.init_poo()

    from utils  import pool

    #导入模块时 `__name__ = "模块名"`
    import app2




run()


